package com.mes.biz.service;

import com.github.pagehelper.PageInfo;
import com.mes.biz.domain.BizOrder;
import com.mes.biz.domain.BizProductInventory;
import com.mes.biz.domain.vo.InventoryVo;
import com.mes.common.core.service.BaseService;

import java.util.List;

/**
 * 产品库存Service接口
 * @author hwg
 * @email hwg
 * @date 2023-05-15
 */
public interface BizProductInventoryService extends BaseService<BizProductInventory> {


    void update(BizProductInventory bizProductInventory);

    BizProductInventory getByProductId(String productCode);

    BizProductInventory getByProductIdAndSpaceId(String productCode, String spaceId);

    PageInfo<BizProductInventory> findDetailPage(BizProductInventory bizProductInventory);

    PageInfo<InventoryVo> listInventoryStatPage(BizProductInventory bizProductInventory);

    List<InventoryVo> listInventoryStat(BizProductInventory bizProductInventory);
}
